Memory System Performance of a Database in a Shared-Memory Multiprocessor

نویسندگان

  • Zheng Zhang
  • Pedro Trancoso
  • Josep Torrellas
چکیده

Although cache-coherent shared-memory multiprocessors are sometimes used to run commercial workloads, little work has been done to characterize how well they support these work-loads. In particular, we do not have many insights on the demands of commercial workloads on the memory subsystem of such machines. These issues are important because of the large market for commercial applications. In this paper, we examine the memory performance of a multiprocessor emulation of Postgres95, a public-domain database. Using address traces of up to 8-processor runs of TPC-B, OO1, and TPC-D, we nd three major performance problems: contention for synchronization, stall due to I/O, and misses on shared data. Our data reveals a synchronization overhead equal to 29% of the time, which can be partially removed with ner-grained locks. I/O system calls can stall workloads for a period comparable to the workloads' computation time. However, increasing the size of the buuer cache to hold the database in memory reduces the stall by over 7 times. Finally, although the stall due to misses on shared data represents a modest 1-8% of the time, it will probably increase with more processors and, unexpectedly, is caused mostly by misses on database metadata.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Locking Protocols for Large - ScaleCache - Coherent Shared Memory

Signiicant performance advantages can be realized by implementing a database system on a cache-coherent shared memory multiprocessor. An eecient implementation of a lock manager is a prerequisite for eecient transaction processing in multiprocessor database systems. To this end, we examine two approaches to the implementation of locking in a cache-coherent shared memory multiprocessor database ...

متن کامل

cient Locking for Shared Memory Database Systems 1

Signi cant performance advantages can be realized by implementing a database system on a shared memory multiprocessor. An e cient implementation of a lock manager is a prerequisite for e cient transaction processing in multiprocessor database systems. To this end, we advocate adopting an autonomous locking strategy. In autonomous locking, transactions acquire and release locks via operations on...

متن کامل

Cache-Conscious Concurrency Control of Main-Memory Indexes on Shared-Memory Multiprocessor Systems

Recent research addressed the importance of optimizing L2 cache utilization in the design of main memory indexes and proposed the so-called cache-conscious indexes such as the CSB+-tree. However, none of these indexes took account of concurrency control, which is crucial for running the real-world main memory database applications involving index updates and taking advantage of the off-the-shel...

متن کامل

Performance Analysis of a Load Balancing Hash-Join Algorithm for a Shared Memory Multiprocessor

Within the last several years, there has been a growing interest in applying general multiprocessor systems to relational database query processing. Efficient parallel algorithms have been designed for the join operation but usually have a failing in that their performance deteriorates greatly when the data is nonuniform. In this paper, we propose a new version of the hashbased join algorithm t...

متن کامل

Synchronizing Shared Memory in the SEQUOIA Fault-Tolerant Multiprocessor

There are three dominent themes in building high transaction rate multiprocessor systems, namely shared memory (e.g. Synapse, IBM/AP configurations), shared disk (e.g. VAX/cluster, any multi-ported disk system), and shared nothing (e.g. Tandem, Tolerant). This paper argues that shared nothing is the preferred approach.

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2007